package com.serenegiant.usbcameratest4;

public interface Constants {

    int WIDTH = 640;
    int HEIGHT = 480;
    int IMAGE_CHANNEL = 4;

    int LEFT = 219; //( WIDTH - DETECT_WIDTH ) / 2;
    int TOP = 150; //( HEIGHT - DETECT_HEIGHT ) / 2;        //146
    int RIGHT = 461;
    int BOTTOM = 408;

    int DETECT_WIDTH = RIGHT - LEFT ; //352
    int DETECT_HEIGHT = BOTTOM - TOP ;  //288

    //25 4.5M
    //30 4m
    int QUEUE_SIZE = 10;
    int BUFFER_SIZE = WIDTH * HEIGHT * IMAGE_CHANNEL;
    int DETECT_BUFFER_SIZE = DETECT_WIDTH * DETECT_HEIGHT * IMAGE_CHANNEL;

}
